﻿using ServerListerner.Connections;
using ServerListerner.Enums;
using ServerListerner.Handlers;
using ServerListerner.Helper;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using static System.Collections.Specialized.BitVector32;

namespace ServerListerner
{
    public interface IHTTPServer : IDisposable
    {
        bool StartListen(Action<IHTTPConnection>? action = null);
        void SetPath(MethodEnum method, string? path = null);
        void RemovePath(MethodEnum method, string? path = null);
        bool StopListen();
    }
}
